#include "fastlz.h"
#ifdef __cplusplus
extern "C" {
#endif
int nav_fastlz_compress(void const * input,int length,void * output){
	void const * c_arg_input=(void const *)(void*)(input);
	int c_arg_length=length;
	void * c_arg_output=(void *)(void*)(output);
	int c_out = fastlz_compress(c_arg_input,c_arg_length,c_arg_output);
	int wrap_out  = (c_out);
	return wrap_out;
}

int nav_fastlz_compress_level(int level,void const * input,int length,void * output){
	int c_arg_level=level;
	void const * c_arg_input=(void const *)(void*)(input);
	int c_arg_length=length;
	void * c_arg_output=(void *)(void*)(output);
	int c_out = fastlz_compress_level(c_arg_level,c_arg_input,c_arg_length,c_arg_output);
	int wrap_out  = (c_out);
	return wrap_out;
}

int nav_fastlz_decompress(void const * input,int length,void * output,int maxout){
	void const * c_arg_input=(void const *)(void*)(input);
	int c_arg_length=length;
	void * c_arg_output=(void *)(void*)(output);
	int c_arg_maxout=maxout;
	int c_out = fastlz_decompress(c_arg_input,c_arg_length,c_arg_output,c_arg_maxout);
	int wrap_out  = (c_out);
	return wrap_out;
}

#ifdef __cplusplus
}
#endif
